"use client";
import Login from "@/app/components/Login";

const Index = ({ showlogin, children }) => {
  if (showlogin) return <Login needReload={true}></Login>;
  return children;
};

export default Index;
